package com.wangzhixuan.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wangzhixuan.model.Customer;
import com.wangzhixuan.model.vo.NewCustomerVo;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;


/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-08-05
 */
public interface CustomerMapper extends BaseMapper<Customer> {

	List<NewCustomerVo> selectCustomerPage(Pagination page, Map<String, Object> params);

	List<Map<String, Object>> selectList(Integer userId);
	
	Map<String,Object> oneCusDeatile(@Param("oneCusId") Integer oneCusId);

}